//
//  ZPMenuModel.m
//  HCNewGoldFinger
//
//  Created by zjhcsoft on 16/6/13.
//  Copyright © 2016年 zjhcsoftios. All rights reserved.
//

#import "ZPMenuModel.h"

@implementation ZPMenuModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{


}

-(void)setChildren:(NSMutableArray *)children{
//    _children = children;
    NSMutableArray *arr = [NSMutableArray array];
    if (children.count) {
        for (NSMutableDictionary *dic in children) {
            ZPMenuModel *model = [[ZPMenuModel alloc] init];
            
            [model setValuesForKeysWithDictionary:dic];
            [arr addObject:model];
        }
        _children = arr;
    }



}
@end
